/**
 * @format
 */

import {AppRegistry, StatusBar} from 'react-native';
import App from './src/App';
import {name as appName} from './app.json';
// import {Provider} from 'react-redux';
// import {SafeAreaProvider} from 'react-native-safe-area-context';
// import store from './src/redux/store';
// import Navigation from './navigation';

// const ProviderContainer = () => {
//   return (
//     // Redux 包裹容器
//     <Provider store={store}>
//       {/* SafeArea组件 包裹容器 */}
//       <SafeAreaProvider>
//         <StatusBar translucent={true} backgroundColor="#fff"></StatusBar>
//         {/* 路由及组件注册 */}
//         <Navigation></Navigation>
//       </SafeAreaProvider>
//     </Provider>
//   );
// };
AppRegistry.registerComponent(appName, () => App);
